<?php
function format_client_address($data)
{
	$out = "";
	foreach($data as $d)
	{
		if($d != "")
		{
			$out .= $d .", ";
		}
	}
	return substr($out,0,-2);
	
}